#ifndef SPEEDREADERLABEL_H
#define SPEEDREADERLABEL_H

#include <QWidget>
#include <QLabel>

class SpeedReaderLabel : public QLabel
{
        Q_OBJECT
    public:
        explicit SpeedReaderLabel(QWidget *parent = 0);

    signals:

    public slots:
        void processWordOffset(int verticalPointerOffset);
        void processNextWordAvailable(QString w, int shift);
        void setFont(const QFont &font);

    protected:
        virtual void paintEvent(QPaintEvent* e);

    private:
        int verticalPointerOffset, coloredSymbolPosition;
};

#endif // SPEEDREADERLABEL_H
